package org.thread.test04.demo01;

/**
 * @author CSY
 * @date 2025 - 03 - 07
 */
public class MainTest {
    public static void main(String[] args) {
        //第三：创建自定义线程对象
        MyThread mt1 = new MyThread();
        MyThread mt2 = new MyThread();
        MyThread mt3 = new MyThread();

        mt1.setName("子线程-1");
        mt2.setName("子线程-2");
        mt3.setName("子线程-3");
        //第四：启动线程
        mt1.start();
        mt2.start();
        mt3.start();

        System.out.println("超级飞侠");
    }
}
